package com.molamil.outboard {
	import flash.events.Event;
	import flash.geom.Point;
	import flash.display.DisplayObject;

	/**
	 * @author martindyrby
	 */
	public class MouseEventEntry extends EventEntry {
		public function MouseEventEntry() {
			super();
		}
		
		public var target:DisplayObject;
		
		override protected function listener(event : Event) : void {
			var trgt:DisplayObject = DisplayObject(dispatcher);
			recordingListener(callback, new Point(trgt.mouseX, trgt.mouseY));
			callback(new Point(trgt.mouseX, trgt.mouseY));
		}
	}
}
